AddFeasibility transform#4547
Closed
sunnyshen321 wants to merge 2 commits into
Closed
Conversation
|
@sunnyshen321 has exported this pull request. If you are a Meta employee, you can view the originating Diff in D85185246. |
sunnyshen321
pushed a commit
to sunnyshen321/Ax
that referenced
this pull request
Nov 18, 2025
Summary:
Transform that adds failure-awareness capability to Ax optimization.
This transform enables Ax to learn from deterministic trial failures (ABANDONED trials) and avoid sampling similar parameter configurations that are likely to fail. It achieves this by:
1. Adding a "is_feasible" metric to experiment data based on trial status
- ABANDONED trials get feasibility value of 0.0 (infeasible)
- Other trials get feasibility value of 1.0 (feasible)
2. Adding a feasibility constraint to the optimization config
- The constraint enforces P(is_feasible) >= threshold
- This guides the acquisition function to avoid infeasible regions
NOTE: We should maybe pick a different word than "feasibility" to not be confused with feasibility in the sense of not violating user-specified outcome constraints.
Differential Revision: D85185246
273ff48 to
544c785
Compare
sunnyshen321
pushed a commit
to sunnyshen321/Ax
that referenced
this pull request
Mar 6, 2026
Summary: Pull Request resolved: facebook#4547 Transform that adds failure-awareness capability to Ax optimization. This transform enables Ax to learn from deterministic trial failures (ABANDONED trials) and avoid sampling similar parameter configurations that are likely to fail. It achieves this by: 1. Adding a "execution_viable" metric to experiment data based on trial status - ABANDONED trials get feasibility value of 0.0 (not viable) - Other trials get feasibility value of 1.0 (viable) 2. Adding the execution_viable constraint to the optimization config - The constraint enforces P(execution_viable) >= threshold - This guides the acquisition function to avoid non-viable regions Differential Revision: D85185246
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4547 +/- ##
==========================================
- Coverage 96.83% 96.83% -0.01%
==========================================
Files 599 601 +2
Lines 64584 64800 +216
==========================================
+ Hits 62540 62748 +208
- Misses 2044 2052 +8 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
544c785 to
616be5b
Compare
sunnyshen321
pushed a commit
to sunnyshen321/Ax
that referenced
this pull request
Mar 11, 2026
Summary:
Transform that adds failure-awareness capability to Ax optimization.
This transform enables Ax to learn from deterministic trial failures (ABANDONED trials) and avoid sampling similar parameter configurations that are likely to fail. It achieves this by:
1. Adding a "execution_viable" metric to experiment data based on trial status
- ABANDONED trials get feasibility value of 0.0 (not viable)
- Other trials get feasibility value of 1.0 (viable)
2. Adding the execution_viable constraint to the optimization config
- The constraint enforces P(execution_viable) >= threshold
- This guides the acquisition function to avoid non-viable regions
Reviewed By: saitcakmak
Differential Revision: D85185246
added 2 commits
March 12, 2026 10:11
Summary: Allow custom tolerated_trial_failure_rate for failure aware benchmark problems where Standard BO without failure awareness is expected to have a high trial failure rate Reviewed By: Balandat Differential Revision: D87092423
Summary:
Transform that adds failure-awareness capability to Ax optimization.
This transform enables Ax to learn from deterministic trial failures (ABANDONED trials) and avoid sampling similar parameter configurations that are likely to fail. It achieves this by:
1. Adding a "execution_viable" metric to experiment data based on trial status
- ABANDONED trials get feasibility value of 0.0 (not viable)
- Other trials get feasibility value of 1.0 (viable)
2. Adding the execution_viable constraint to the optimization config
- The constraint enforces P(execution_viable) >= threshold
- This guides the acquisition function to avoid non-viable regions
Reviewed By: saitcakmak
Differential Revision: D85185246
616be5b to
2794870
Compare
|
This pull request has been merged in 1e48d0f. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary:
Transform that adds failure-awareness capability to Ax optimization.
This transform enables Ax to learn from deterministic trial failures (ABANDONED trials) and avoid sampling similar parameter configurations that are likely to fail. It achieves this by:
Adding a "is_feasible" metric to experiment data based on trial status
- ABANDONED trials get feasibility value of 0.0 (infeasible)
- Other trials get feasibility value of 1.0 (feasible)
Adding a feasibility constraint to the optimization config
- The constraint enforces P(is_feasible) >= threshold
- This guides the acquisition function to avoid infeasible regions
NOTE: We should maybe pick a different word than "feasibility" to not be confused with feasibility in the sense of not violating user-specified outcome constraints.
Differential Revision: D85185246